<div class="toolbar row">
	<div class="span4">
		<span>Show</span>
		<?php echo CHtml::dropDownList('limit', $block->pageSize, $block->getPageSizeListData(), array('class'=>'ajaxUpdate')) ?>
	</div>
	
	<div class="span5">
		<span>Arrange by</span>
		<?php echo CHtml::dropDownList('order', $block->order, $block->getAvailableOrders(), array('class'=>'ajaxUpdate')) ?>
		<?php 
		$class = $block->direction=='asc' ? 'up' : 'down'; 
		$title = $block->direction=='asc' ? 'Sort Descending' : 'Sort Ascending';
		?>
		<a href="<?php echo $block->getDirectionUrl() ?>" class="ajaxUpdate" title="<?php echo $title ?>">
			<i class="icon-white icon-arrow-<?php echo $class ?>">&nbsp;</i>
		</a>
	</div>
</div>
